LL TAMP Functions ¶
Tamper ¶
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
¶
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
¶
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
¶
-
Get the enabled TAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
¶
-
Enable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
¶
-
Disable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
¶
-
Get the enabled TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tamper interrupt enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
¶
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not be enabled when the tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
¶
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
¶
-
Get the enabled TAMPx mask flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
¶
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and device secrets can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
¶
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
¶
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
¶
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
Precharge – time duration of the precharge can be one of the following values:
FilterCounter – filter counter, can be one of the following values:
SampleFrequency – sample frequency, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfig
(
void
)
¶
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
¶
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_SetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
Trigger – trigger mode, can be one of the following values:
EraseSecrets – tamper mode, can be one of the following values:
Masked – tamper masked, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
¶
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
¶
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
¶
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
¶
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
¶
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
¶
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
¶
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
¶
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
¶
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
¶
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
¶
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
¶
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
¶
-
Check if the TAMPx active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
¶
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
-
Get the enabled TAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
-
Enable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
-
Disable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
-
Get the enabled TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tamper interrupt enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not be enabled when the tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
-
Get the enabled TAMPx mask flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and device secrets can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
Precharge – time duration of the precharge can be one of the following values:
FilterCounter – filter counter, can be one of the following values:
SampleFrequency – sample frequency, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfig
(
void
)
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_SetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
Trigger – trigger mode, can be one of the following values:
EraseSecrets – tamper mode, can be one of the following values:
Masked – tamper masked, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
-
Check if the TAMPx active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
- group TAMP_LL_EF_Tamper
-
Functions
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
-
Enable TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Enable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
void
LL_TAMP_Disable
(
uint32_t
Tampers
)
-
Clear TAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_Disable
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
-
uint32_t
LL_TAMP_GetEnabled
(
uint32_t
Tampers
)
-
Get the enabled TAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 TAMPxE LL_TAMP_GetEnabled
- Parameters :
-
Tampers – This parameter can be a combination of the group values TAMPER
- Return values :
-
State – of the tampers enable.
-
void
LL_TAMP_EnableIT
(
uint32_t
TampersIT
)
-
Enable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_EnableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
void
LL_TAMP_DisableIT
(
uint32_t
TampersIT
)
-
Disable TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_DisableIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
-
uint32_t
LL_TAMP_IsEnabledIT
(
uint32_t
TampersIT
)
-
Get the enabled TAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER TAMPxIE LL_TAMP_IsEnabledIT
- Parameters :
-
TampersIT – This parameter can be a combination of the group values TAMPER IT
- Return values :
-
State – of the tamper interrupt enable (1 enabled / 0 disabled).
-
void
LL_TAMP_EnableMask
(
uint32_t
Mask
)
-
Enable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_EnableMask
Note
Associated Tamper IT must not be enabled when the tamper mask is set.
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
void
LL_TAMP_DisableMask
(
uint32_t
Mask
)
-
Disable Tamper mask flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_DisableMask
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
-
uint32_t
LL_TAMP_GetMasked
(
uint32_t
Mask
)
-
Get the enabled TAMPx mask flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxMSK LL_TAMP_GetMasked
- Parameters :
-
Mask – This parameter can be a combination of the group values TAMPER MASK
- Return values :
-
State – of the tampers mask flag enable.
-
void
LL_TAMP_EnablePotentialMode
(
uint32_t
Tamper
)
-
Enable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_EnablePotentialMode
Note
In potential mode, the backup registers and device secrets can be blocked instead of erased. See TAMP interconnection table for more information.
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
void
LL_TAMP_DisablePotentialMode
(
uint32_t
Tamper
)
-
Disable TAMPx potential mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_DisablePotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
-
uint32_t
LL_TAMP_IsEnabledPotentialMode
(
uint32_t
Tamper
)
-
Check if the TAMPx potential mode is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxPOM LL_TAMP_IsEnabledPotentialMode
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER NO ERASE
- Return values :
-
State – of TAMPx potential mode (1 enabled / 0 disabled).
-
void
LL_TAMP_SetConfig
(
uint32_t
Pullup
,
uint32_t
Precharge
,
uint32_t
FilterCounter
,
uint32_t
SampleFrequency
)
-
Configure global tamper parameters.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_SetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_SetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_SetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_SetConfig
- Parameters :
-
Pullup – pull-up (precharge of TAMP pins) can be one of the following values:
Precharge – time duration of the precharge can be one of the following values:
FilterCounter – filter counter, can be one of the following values:
SampleFrequency – sample frequency, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfig
(
void
)
-
Retrieve the global tamper parameters configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_GetConfig
TAMP_FLTCR TAMPPRCH LL_TAMP_GetConfig
TAMP_FLTCR TAMPFREQ LL_TAMP_GetConfig
TAMP_FLTCR TAMPFLT LL_TAMP_GetConfig
- Return values :
-
Combined – values of the pull-up precharge, precharge duration, sample frequency and filter
-
void
LL_TAMP_SetConfigTampers
(
uint32_t
Tampers
,
uint32_t
Trigger
,
uint32_t
EraseSecrets
,
uint32_t
Masked
)
-
Configure one or multiple tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_SetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_SetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
Trigger – trigger mode, can be one of the following values:
EraseSecrets – tamper mode, can be one of the following values:
Masked – tamper masked, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigTampers
(
uint32_t
Tampers
)
-
Retrieve one configuration tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxMSK LL_TAMP_GetConfigTampers
TAMP_CR2 TAMPxPOM LL_TAMP_GetConfigTampers
- Parameters :
-
Tampers – tampers can be one of the group values TAMPER
- Return values :
-
Combined – values of the tamper masked, mode and trigger mode.
-
void
LL_TAMP_EnablePullUp
(
void
)
-
Enable TAMPx pull-up (Precharge TAMPx pins before sampling).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_EnablePullUp
-
void
LL_TAMP_DisablePullUp
(
void
)
-
Disable TAMPx pull-up (Disable precharge of TAMPx pins).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_DisablePullUp
-
uint32_t
LL_TAMP_IsEnabledPullUp
(
void
)
-
Check if the TAMPx pull-up is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPUDIS LL_TAMP_IsEnabledPullUp
- Return values :
-
State – of TAMPx pull-up (1 enabled / 0 disabled).
-
void
LL_TAMP_SetPrecharge
(
uint32_t
Duration
)
-
Set TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_SetPrecharge
- Parameters :
-
Duration – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrecharge
(
void
)
-
Get TAMPx precharge duration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPPRCH LL_TAMP_GetPrecharge
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetFilterCount
(
uint32_t
FilterCount
)
-
Set TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_SetFilterCount
- Parameters :
-
FilterCount – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetFilterCount
(
void
)
-
Get TAMPx filter count.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFLT LL_TAMP_GetFilterCount
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_SetSamplingFreq
(
uint32_t
SamplingFreq
)
-
Set Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_SetSamplingFreq
- Parameters :
-
SamplingFreq – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetSamplingFreq
(
void
)
-
Get Tamper sampling frequency.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_FLTCR TAMPFREQ LL_TAMP_GetSamplingFreq
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_TAMP_EnableActiveLevel
(
uint32_t
Tamper
)
-
Enable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_EnableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
void
LL_TAMP_DisableActiveLevel
(
uint32_t
Tamper
)
-
Disable Active level for Tamper input.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_DisableActiveLevel
- Parameters :
-
Tamper – This parameter can be a combination of the group values TAMPER ACTIVE LEVEL
-
uint32_t
LL_TAMP_IsEnabledActiveLevel
(
uint32_t
Tamper
)
-
Check if the TAMPx active level is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 TAMPxTRG LL_TAMP_IsEnabledActiveLevel
- Parameters :
-
Tamper – This parameter can be one of the group values TAMPER ACTIVE LEVEL
- Return values :
-
State – of TAMPx Active level (1 enabled / 0 disabled).
-
void
LL_TAMP_Enable
(
uint32_t
Tampers
)
Internal Tamper ¶
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
¶
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_SetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
EraseSecrets – tamper mode, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
¶
-
Retrieve configuration for one internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Value – of the selected internal tamper no-erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
¶
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
¶
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
¶
-
Get the enabled ITAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
¶
-
Enable ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
¶
-
Clear ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
¶
-
Get the enabled ITAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
¶
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_SetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
EraseSecrets – tamper mode, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
-
Retrieve configuration for one internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Value – of the selected internal tamper no-erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
-
Get the enabled ITAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
-
Enable ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
-
Clear ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
-
Get the enabled ITAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
- group TAMP_LL_EF_Internal_Tamper
-
Functions
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
-
Configure one or multiple internal tampers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_SetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
EraseSecrets – tamper mode, can be one of the following values:
-
uint32_t
LL_TAMP_GetConfigInternalTampers
(
uint32_t
InternalTampers
)
-
Retrieve configuration for one internal tamper.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR3 ITAMPxPOM LL_TAMP_GetConfigInternalTampers
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
Value – of the selected internal tamper no-erase mode.
-
void
LL_TAMP_ITAMP_Enable
(
uint32_t
InternalTampers
)
-
Enable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Enable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
void
LL_TAMP_ITAMP_Disable
(
uint32_t
InternalTampers
)
-
Disable ITAMPx input detection.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_Disable
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
-
uint32_t
LL_TAMP_ITAMP_GetEnabled
(
uint32_t
InternalTampers
)
-
Get the enabled ITAMPx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR1 ITAMPxE LL_TAMP_ITAMP_GetEnabled
- Parameters :
-
InternalTampers – This parameter can be a combination of the group values INTERNAL TAMPER
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ITAMP_EnableIT
(
uint32_t
InternalTampersIT
)
-
Enable ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_EnableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
void
LL_TAMP_ITAMP_DisableIT
(
uint32_t
InternalTampersIT
)
-
Clear ITAMPx input detection interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_DisableIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
-
uint32_t
LL_TAMP_ITAMP_IsEnabledIT
(
uint32_t
InternalTampersIT
)
-
Get the enabled ITAMPx interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_IER ITAMPxE LL_TAMP_ITAMP_IsEnabledIT
- Parameters :
-
InternalTampersIT – This parameter can be a combination of the group values INTERNAL TAMPER IT
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_SetConfigInternalTampers
(
uint32_t
InternalTampers
,
uint32_t
EraseSecrets
)
Backup_Registers ¶
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
¶
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
¶
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
¶
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
- group TAMP_LL_EF_Backup_Registers
-
Functions
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
-
Writes a data in a specified Backup data register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_SetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
Data – Value between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_TAMP_BKP_GetRegister
(
uint32_t
BackupRegister
)
-
Reads data from the specified TAMP Backup data Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_BKPxR BKP LL_TAMP_BKP_GetRegister
- Parameters :
-
BackupRegister – This parameter can be one of the group values BACKUP REGISTER
- Return values :
-
Value – between Min_Data=0x00 and Max_Data=0xFFFFFFFF
-
void
LL_TAMP_BKP_SetRegister
(
uint32_t
BackupRegister
,
uint32_t
Data
)
FLAG_Management ¶
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
¶
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
¶
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
¶
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
¶
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
¶
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
¶
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
¶
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
- group TAMP_LL_EF_FLAG_Management
-
Functions
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
-
Get tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR TAMPx LL_TAMP_IsActiveFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SR ITAMPx LL_TAMP_IsActiveFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_TAMPM
(
uint32_t
Tampers
)
-
Get tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR TAMPxMF LL_TAMP_IsActiveFlag_TAMPM
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_TAMP_IsActiveFlag_ITAMPM
(
uint32_t
InternalTampers
)
-
Get internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_MISR ITAMPxMF LL_TAMP_IsActiveFlag_ITAMPM
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_ClearFlag_TAMP
(
uint32_t
Tampers
)
-
Clear tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CTAMPxF LL_TAMP_ClearFlag_TAMP
- Parameters :
-
Tampers – This parameter can be a combination of the following values:
-
void
LL_TAMP_ClearFlag_ITAMP
(
uint32_t
InternalTampers
)
-
Clear internal tampers interrupt masked flags.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_SCR CITAMPxF LL_TAMP_ClearFlag_ITAMP
- Parameters :
-
InternalTampers – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsActiveFlag_TAMP
(
uint32_t
Tampers
)
Device_Secret Management ¶
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
¶
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
¶
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
¶
-
Check if the access to the backup registers and device secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
¶
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
¶
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
-
Check if the access to the backup registers and device secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
- group TAMP_LL_EF_Device_Secret_Management
-
Functions
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
-
Block access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_BlockDeviceSecretsAccess
-
void
LL_TAMP_UnblockDeviceSecretsAccess
(
void
)
-
Unblock access to the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_UnblockDeviceSecretsAccess
-
uint32_t
LL_TAMP_IsBlockedDeviceSecretsAccess
(
void
)
-
Check if the access to the backup registers and device secrets is blocked.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKBLOCK LL_TAMP_IsBlockedDeviceSecretsAccess
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EraseDeviceSecrets
(
void
)
-
Erase the backup registers and device secrets.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CR2 BKERASE LL_TAMP_EraseDeviceSecrets
-
void
LL_TAMP_BlockDeviceSecretsAccess
(
void
)
Tamp remap ¶
- group TAMP_LL_EF_Remap
-
Functions
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
¶
-
Enable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_EnableRemap
TAMP_OR IN3_RMP LL_TAMP_EnableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
void
LL_TAMP_DisableRemap
(
uint32_t
tamp_remap
)
¶
-
Disable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_DisableRemap
TAMP_OR IN3_RMP LL_TAMP_DisableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsEnabledRemap
(
uint32_t
tamp_remap
)
¶
-
Check if remap of TAMP INx is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_IsEnabledRemap
TAMP_OR IN3_RMP LL_TAMP_IsEnabledRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
¶
- group TAMP_LL_EF_Remap
-
Functions
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
-
Enable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_EnableRemap
TAMP_OR IN3_RMP LL_TAMP_EnableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
void
LL_TAMP_DisableRemap
(
uint32_t
tamp_remap
)
-
Disable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_DisableRemap
TAMP_OR IN3_RMP LL_TAMP_DisableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsEnabledRemap
(
uint32_t
tamp_remap
)
-
Check if remap of TAMP INx is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_IsEnabledRemap
TAMP_OR IN3_RMP LL_TAMP_IsEnabledRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
- group TAMP_LL_EF_Remap
-
Functions
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
-
Enable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_EnableRemap
TAMP_OR IN3_RMP LL_TAMP_EnableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
void
LL_TAMP_DisableRemap
(
uint32_t
tamp_remap
)
-
Disable remap of TAMP INx on a different pin.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_DisableRemap
TAMP_OR IN3_RMP LL_TAMP_DisableRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
-
uint32_t
LL_TAMP_IsEnabledRemap
(
uint32_t
tamp_remap
)
-
Check if remap of TAMP INx is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_OR IN2_RMP LL_TAMP_IsEnabledRemap
TAMP_OR IN3_RMP LL_TAMP_IsEnabledRemap
- Parameters :
-
tamp_remap – This parameter can be a combination of the following values:
- Return values :
-
State – of bit (1 or 0).
-
void
LL_TAMP_EnableRemap
(
uint32_t
tamp_remap
)
Privilege Services ¶
- group TAMP_LL_EF_Privilege_Services
-
Functions
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)
¶
-
Set privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_SetPrivAttr
- Parameters :
-
item – This parameter can be one or a combination of the following values:
priv_attr – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrivAttr
(
uint32_t
item
)
¶
-
Get privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_GetPrivAttr
- Parameters :
-
item – This parameter can be one of the following values:
- Return values :
-
Status – of bit (1 or 0).
1: Privileged attribute enabled for the item.
0: Non-privileged attribute for the item.
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
start_zone2
,
uint32_t
start_zone3
)
¶
-
Set backup register protection boundary start index of Zone 2 and Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR BKPRW LL_TAMP_SetBackupRegProtection
CFGR BKPW LL_TAMP_SetBackupRegProtection
- Parameters :
-
start_zone2 – This parameter can be one of the group values BACKUP REGISTER
start_zone3 – This parameter can be one of the group values BACKUP REGISTER
-
uint32_t
LL_TAMP_GetBackupRegStartZone2
(
void
)
¶
-
Get backup register protection boundary start index of Zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPRW LL_TAMP_GetBackupRegStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 2
-
uint32_t
LL_TAMP_GetBackupRegStartZone3
(
void
)
¶
-
Get backup register protection boundary start index of Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPW LL_TAMP_GetBackupRegStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 3
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)
¶
- group TAMP_LL_EF_Privilege_Services
-
Functions
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)
-
Set privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_SetPrivAttr
- Parameters :
-
item – This parameter can be one or a combination of the following values:
priv_attr – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrivAttr
(
uint32_t
item
)
-
Get privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_GetPrivAttr
- Parameters :
-
item – This parameter can be one of the following values:
- Return values :
-
Status – of bit (1 or 0).
1: Privileged attribute enabled for the item.
0: Non-privileged attribute for the item.
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
start_zone2
,
uint32_t
start_zone3
)
-
Set backup register protection boundary start index of Zone 2 and Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR BKPRW LL_TAMP_SetBackupRegProtection
CFGR BKPW LL_TAMP_SetBackupRegProtection
- Parameters :
-
start_zone2 – This parameter can be one of the group values BACKUP REGISTER
start_zone3 – This parameter can be one of the group values BACKUP REGISTER
-
uint32_t
LL_TAMP_GetBackupRegStartZone2
(
void
)
-
Get backup register protection boundary start index of Zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPRW LL_TAMP_GetBackupRegStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 2
-
uint32_t
LL_TAMP_GetBackupRegStartZone3
(
void
)
-
Get backup register protection boundary start index of Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPW LL_TAMP_GetBackupRegStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 3
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)
- group TAMP_LL_EF_Privilege_Services
-
Functions
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)
-
Set privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_SetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_SetPrivAttr
- Parameters :
-
item – This parameter can be one or a combination of the following values:
priv_attr – This parameter can be one of the following values:
-
uint32_t
LL_TAMP_GetPrivAttr
(
uint32_t
item
)
-
Get privilege attribute configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
PRIVCFGR TAMPPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPWPRIV LL_TAMP_GetPrivAttr
PRIVCFGR BKPRWPRIV LL_TAMP_GetPrivAttr
- Parameters :
-
item – This parameter can be one of the following values:
- Return values :
-
Status – of bit (1 or 0).
1: Privileged attribute enabled for the item.
0: Non-privileged attribute for the item.
-
void
LL_TAMP_SetBackupRegProtection
(
uint32_t
start_zone2
,
uint32_t
start_zone3
)
-
Set backup register protection boundary start index of Zone 2 and Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR BKPRW LL_TAMP_SetBackupRegProtection
CFGR BKPW LL_TAMP_SetBackupRegProtection
- Parameters :
-
start_zone2 – This parameter can be one of the group values BACKUP REGISTER
start_zone3 – This parameter can be one of the group values BACKUP REGISTER
-
uint32_t
LL_TAMP_GetBackupRegStartZone2
(
void
)
-
Get backup register protection boundary start index of Zone 2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPRW LL_TAMP_GetBackupRegStartZone2
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 2
-
uint32_t
LL_TAMP_GetBackupRegStartZone3
(
void
)
-
Get backup register protection boundary start index of Zone 3.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TAMP_CFGR BKPW LL_TAMP_GetBackupRegStartZone3
Note
Zone 1 : read protection write protection
Note
Zone 2 : read non-protection write protection
Note
Zone 3 : read non-protection write non-protection
- Return values :
-
Start – index of backup zone 3
-
void
LL_TAMP_SetPrivAttr
(
uint32_t
item
,
uint32_t
priv_attr
)